package com.general.framework.core.exception;

/**
 * @author leejean
 * BusinessException
 * 业务异常信息类，所有业务异常都应该抛出此类
 * @date 2020年05月20 10:28:38
 */
public class BusinessException extends BaseException {

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(final ICode errorCode) {
        super(errorCode);
    }

    public BusinessException(Integer code, String message) {
        super(code, message);
    }

    public BusinessException(Integer code, String message, Throwable cause) {
        super(code, message, cause);
    }


}
